home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- ## ----------------------------------------------------------------------
- ## debian/postrm : postremoval script for sgml-base
- ## ----------------------------------------------------------------------
-
- ## ----------------------------------------------------------------------
- set -e
-
- ## ----------------------------------------------------------------------
- if [ "$1" = "purge" ]
- then
-
- ## ------------------------------------------------------------------
- ## remove SGML root catalog
- rm -f /etc/sgml/catalog /etc/sgml/catalog.old
-
- ## ------------------------------------------------------------------
- ## remove /etc/sgml
- cd /etc
- rmdir --ignore-fail-on-non-empty sgml
- cd - >/dev/null
-
- ## ------------------------------------------------------------------
- ## remove /var/lib/sgml-base
- cd /var/lib
- rmdir --ignore-fail-on-non-empty sgml-base
- cd - >/dev/null
-
- fi
-
- ## ----------------------------------------------------------------------
- ## automatically generated debhelper commands
-
-
- exit 0
-
- ## ----------------------------------------------------------------------
-